package com.hzw.saas.web.storage.param;

import com.hzw.saas.api.storage.constants.ApiString;
import com.hzw.saas.api.storage.query.OriginBlocksQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author EZ09
 * @since 07/29/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("RSync获取服务端对比块列表参数")
public class ServerOriginBlocksListParam extends OriginBlocksQuery {

    private static final long serialVersionUID = 1L;

    /**
     * 校验和获取模式, 1-只获取弱校验和(默认), 2-只获取强校验和, 3-同时获取强弱校验和
     */
    @ApiModelProperty(value = "校验和获取模式, " + ApiString.CHECKSUM_MODE, position = 3)
    private Integer checksumMode;

}
